package com.hxd.otc.module.my.presenter;

import com.hxd.otc.base.BaseRecyclerPresenter;
import com.hxd.otc.common.enums.BankType;
import com.hxd.otc.module.my.adapter.SelectBankTypeAdapter;
import com.hxd.otc.module.my.contract.SelectBankTypeContract;
import com.hxd.otc.module.my.model.BankModel;

/**
 * Created by lzy on 2018/6/7 0007.
 * description ${TODO}
 * <p>
 * Changed by somebody on 2018/6/7 0007
 * description ${TODO}
 */
public class SelectBankTypePresenter extends BaseRecyclerPresenter<SelectBankTypeContract.View, SelectBankTypeAdapter, BankType> implements SelectBankTypeContract.Presenter {

    public SelectBankTypePresenter(SelectBankTypeContract.View view) {
        super(view);
    }

    @Override
    public void loadData(boolean isRefresh) {
        onLoadDataSuccess(isRefresh, BankModel.getInstance().getTradingModeList());
    }

    @Override
    public void start() {

    }
}
